package cn.lll.vuehouse.service;

import cn.lll.vuehouse.common.ResponseResult;
import cn.lll.vuehouse.dto.DeptDto;
import cn.lll.vuehouse.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author asus-pc
* @description 针对表【sys_dept】的数据库操作Service
* @createDate 2023-09-01 11:34:22
*/
public interface DeptService extends IService<Dept> {

    ResponseResult getDeptsList();

    ResponseResult getCurrentPageDeptInfo(DeptDto deptDto);

    ResponseResult deleteByIdDept(Integer id);

    ResponseResult addAndUpdateDept(Dept dept);
}
